package com.hyd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mybatis.plus.EntityWrapper;

import com.hyd.dao.XAxisMapper;
import com.hyd.dao.model.XAxis;
import com.hyd.dao.model.XAxisExample;

@Service
public class XAxisService {
	@Autowired
	private XAxisMapper xAxisMapper;

	public int countByExample(XAxisExample example) {
		return this.xAxisMapper.countByExample(example);
	}

	public XAxis selectByPrimaryKey(Integer id) {
		return this.xAxisMapper.selectByPrimaryKey(id);
	}

	public List<XAxis> selectByExample(XAxisExample example) {
		return this.xAxisMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.xAxisMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(XAxis record) {
		return this.xAxisMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(XAxis record) {
		return this.xAxisMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(XAxisExample example) {
		return this.xAxisMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(XAxis record, XAxisExample example) {
		return this.xAxisMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(XAxis record, XAxisExample example) {
		return this.xAxisMapper.updateByExample(record, example);
	}

	public int insert(XAxis record) {
		return this.xAxisMapper.insert(record);
	}

	public int insertSelective(XAxis record) {
		return this.xAxisMapper.insertSelective(record);
	}

	public List<XAxis> selectByWrapper(EntityWrapper<XAxis> wrapper) {
		return this.xAxisMapper.selectByWrapper(wrapper);
	}

}
